package com.page.demo.dao;

import com.page.demo.pojo.Car;
import com.page.demo.pojo.ov.CarAndBrand;
import com.page.demo.pojo.ov.CarAndCategory;

import java.util.List;

public interface CarDao {

    List<Car> queryByPriceDesc();
    List<Car> queryByPriceAsc();
    List<Car> queryAll();
    List<CarAndBrand> queryCarAndBrand();
    List<CarAndBrand> queryCarAndBrand(String brand);
    List<CarAndCategory> queryCarAndCategory();
    List<CarAndCategory> queryCarAndCategory(String category);


}
